using System.Collections;
using System.Collections.Generic;
using UnityEngine;
using XFGameFramework;
using XFFSM;
using XFABManager;

public enum SearchFoodState
{

}
public class SearchFoodController : Controller
{

    public void SetSearchFoodState(GameState gameState)
    {
        FSMController controller = FSMController.GetFSM("SearchFoodState");
        if (controller == null)
        {
            RuntimeFSMController fsm = AssetBundleManager.LoadAsset<RuntimeFSMController>(Module.ProjectName, "SearchFoodState");
            controller = FSMController.StartupFSM("SearchFoodState", fsm, Module);
        }

        controller.SetInt("State", (int)gameState);
    }
}   
